#pragma once


// CDlg1 dialog
//#include "SubDlgSystemSet.h"
#include "afxwin.h"

class CDlg1 : public CDialog
{
	DECLARE_DYNAMIC(CDlg1)

public:
	CDlg1(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlg1();

// Dialog Data
	enum { IDD = IDD_DIALOG1 };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
//	virtual BOOL PreTranslateMessage(MSG* pMsg);
	afx_msg void OnStnClickedColorBackground();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
private:
	CBrush m_brushBackGround; 
	CBrush m_brushGrid; 
	CBrush m_brushTick; 
	CBrush m_brushTitle; 
	CBrush m_brushBorder; 
	CBrush m_brushCurve1; 
	CBrush m_brushCurve2; 
	CBrush m_brushAverageCurve1; 
	CBrush m_brushAverageCurve2; 

public:
	afx_msg void OnStnClickedColorBorder();
	afx_msg void OnStnClickedColorTitle();
	afx_msg void OnStnClickedColorGrid();
	afx_msg void OnStnClickedColorCurve();
	afx_msg void OnStnClickedColorTick();
	CString m_strDirectory;
	afx_msg void OnBnClickedButton7();
	CComboBox m_ctlChannelDisCombox;
	afx_msg void OnCbnSelchangeCombo1();
	bool m_bModify;
public:
	virtual void OnOK();
	afx_msg void OnStnClickedColorCurve2();
	afx_msg void OnStnClickedColorAverageCurve1();
	afx_msg void OnStnClickedColorAverageCurve2();
	afx_msg void OnBnClickedButton8();
};
